package com.dabai.iot.core.convert;

import com.dabai.iot.core.entity.AlarmEntity;
import com.dabai.iot.core.vo.AlarmVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 告警配置 Convert
 *
 * @author kev1n
 */
@Mapper
public interface AlarmConvert {

    AlarmConvert INSTANCE = Mappers.getMapper(AlarmConvert.class);

    AlarmVO convertVO(AlarmEntity entity);

}
